Skip to main content

Remove points

Filters close points by minimum distance between each other.

removeClosePoints function is used for filtering points that are close to each other.

This function sorts an array of points by intensity and then calculates euclidean distance between the points. If the distance between points is smaller than the removeClosePoints option the compared point gets removed.

Extrema without removeClosePointsExtrema with removeClosePoints
Image InputImage Output

Parameters and default values

  • points

  • image

  • options

Options

PropertyRequiredDefault value
distanceyes-
kindyes-
channelno0